#include "includes.h"
#include "ParamCfg.h"
#include "FM25L16.h"

#define DEV_NAME "FM25L16"
static Param_Device dev;


BOOL    FM25L16_Param_Init(void)
{
	return TRUE;
}
BOOL    FM25L16_Param_Write(int addr,  DWORD  value)
{
	return TRUE;
}
DWORD   FM25L16_Param_Read(int  addr,  DWORD  value)
{
	return value;
}
BOOL    FM25L16_WriteFloat(int addr,   float  value)
{
	return TRUE;
}
float   FM25L16_ReadFloat(int addr,    float  value)
{
	return value;
}
BOOL	FM25L16_WriteBuffer(int addr,  u8* data, u16 size)
{
	return TRUE;
}
BOOL	FM25L16_ReadBuffer(int  addr,  u8* data, u16 size)
{
	 return TRUE;
}

int FM25L16_Init(void)
{
	memset(&dev, 0 , sizeof(Param_Device));
	
	strncpy(dev.name,DEV_NAME,MAX_PAR_DEVICE_NAME);
	
	dev.Init	   = FM25L16_Param_Init;
    dev.Write 	   = FM25L16_Param_Write;
    dev.Read  	   = FM25L16_Param_Read;
    dev.ReadFloat  = FM25L16_ReadFloat;
    dev.WriteFloat = FM25L16_WriteFloat;
 	dev.ReadBuffer = FM25L16_ReadBuffer;
	dev.WriteBuffer= FM25L16_WriteBuffer;
	
	return Param_Register_Device(&dev);
}
device_initcall(FM25L16_Init);

